package com.woniu.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "分页响应对象", description = "分页响应结果")
public class PageData<T> {
    @ApiModelProperty("总记录数")
    private Long total;
    @ApiModelProperty("分页数据")
    private T data;

    public void setCurrentPage(Integer currentPage) {
    }

    public void setPageSize(Integer pageSize) {
    }
}
